package org.slf4j.impl;

import org.slf4j.ILoggerFactory;
import com.db.LoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;

/**
 * Static logger factory binder
 * 
 * @author a.troitskaya
 */
public class StaticLoggerBinder implements LoggerFactoryBinder {
	private final static StaticLoggerBinder lOGGER_BINDER = new StaticLoggerBinder();
	private final LoggerFactory loggerFactory;

	public StaticLoggerBinder() {
		this.loggerFactory = new LoggerFactory();
	}
	public static StaticLoggerBinder getSingleton() {
		return lOGGER_BINDER;
	}

	public ILoggerFactory getLoggerFactory() {
		return loggerFactory;
	}

	public String getLoggerFactoryClassStr() {
		return "com.db.LoggerFactory";
	}
}